home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #3 / Amiga Plus CD - 2002 - No. 03.iso / AmiSoft / Dev / Gg / Php_423_bin.lha / php-4.2.3-bin / lib / php.ini
Encoding:
INI File  |  2002-08-24  |  29.2 KB  |  895 lines

  1. [PHP]
  2.  
  3. ;;;;;;;;;;;;;;;;;;;
  4. ; About this file ;
  5. ;;;;;;;;;;;;;;;;;;;
  6. ;
  7. ; This is the recommended, PHP 4-style version of the php.ini-dist file.  It
  8. ; sets some non standard settings, that make PHP more efficient, more secure,
  9. ; and encourage cleaner coding.
  10. ; The price is that with these settings, PHP may be incompatible with some
  11. ; applications, and sometimes, more difficult to develop with.  Using this
  12. ; file is warmly recommended for production sites.  As all of the changes from
  13. ; the standard settings are thoroughly documented, you can go over each one,
  14. ; and decide whether you want to use it or not.
  15. ;
  16. ; For general information about the php.ini file, please consult the php.ini-dist
  17. ; file, included in your PHP distribution.
  18. ;
  19. ; This file is different from the php.ini-dist file in the fact that it features
  20. ; different values for several directives, in order to improve performance, while
  21. ; possibly breaking compatibility with the standard out-of-the-box behavior of
  22. ; PHP 3.  Please make sure you read what's different, and modify your scripts
  23. ; accordingly, if you decide to use this file instead.
  24. ;
  25. ; - register_globals = Off         [Security, Performance]
  26. ;     Global variables are no longer registered for input data (POST, GET, cookies,
  27. ;     environment and other server variables).  Instead of using $foo, you must use
  28. ;     you can use $_REQUEST["foo"] (includes any variable that arrives through the
  29. ;     request, namely, POST, GET and cookie variables), or use one of the specific
  30. ;     $_GET["foo"], $_POST["foo"], $_COOKIE["foo"] or $_FILES["foo"], depending
  31. ;     on where the input originates.  Also, you can look at the
  32. ;     import_request_variables() function.
  33. ;     Note that register_globals is going to be depracated (i.e., turned off by
  34. ;     default) in the next version of PHP, because it often leads to security bugs.
  35. ;     Read http://php.net/manual/en/security.registerglobals.php for further
  36. ;     information.
  37. ; - display_errors = Off           [Security]
  38. ;     With this directive set to off, errors that occur during the execution of
  39. ;     scripts will no longer be displayed as a part of the script output, and thus,
  40. ;     will no longer be exposed to remote users.  With some errors, the error message
  41. ;     content may expose information about your script, web server, or database
  42. ;     server that may be exploitable for hacking.  Production sites should have this
  43. ;     directive set to off.
  44. ; - log_errors = On                [Security]
  45. ;     This directive complements the above one.  Any errors that occur during the
  46. ;     execution of your script will be logged (typically, to your server's error log,
  47. ;     but can be configured in several ways).  Along with setting display_errors to off,
  48. ;     this setup gives you the ability to fully understand what may have gone wrong,
  49. ;     without exposing any sensitive information to remote users.
  50. ; - output_buffering = 4096        [Performance]
  51. ;     Set a 4KB output buffer.  Enabling output buffering typically results in less
  52. ;     writes, and sometimes less packets sent on the wire, which can often lead to
  53. ;     better performance.  The gain this directive actually yields greatly depends
  54. ;     on which Web server you're working with, and what kind of scripts you're using.
  55. ; - register_argc_argv = Off       [Performance]
  56. ;     Disables registration of the somewhat redundant $argv and $argc global
  57. ;     variables.
  58. ; - magic_quotes_gpc = Off         [Performance]
  59. ;     Input data is no longer escaped with slashes so that it can be sent into
  60. ;     SQL databases without further manipulation.  Instead, you should use the
  61. ;     function addslashes() on each input element you wish to send to a database.
  62. ; - variables_order = "GPCS"       [Performance]
  63. ;     The environment variables are not hashed into the $HTTP_ENV_VARS[].  To access
  64. ;     environment variables, you can use getenv() instead.
  65. ; - error_reporting = E_ALL        [Code Cleanliness, Security(?)]
  66. ;     By default, PHP surpresses errors of type E_NOTICE.  These error messages
  67. ;     are emitted for non-critical errors, but that could be a symptom of a bigger
  68. ;     problem.  Most notably, this will cause error messages about the use
  69. ;     of uninitialized variables to be displayed.
  70. ; - allow_call_time_pass_reference = Off     [Code cleanliness]
  71. ;     It's not possible to decide to force a variable to be passed by reference
  72. ;     when calling a function.  The PHP 4 style to do this is by making the
  73. ;     function require the relevant argument by reference.
  74.  
  75.  
  76. ;;;;;;;;;;;;;;;;;;;;
  77. ; Language Options ;
  78. ;;;;;;;;;;;;;;;;;;;;
  79.  
  80. ; Enable the PHP scripting language engine under Apache.
  81. engine = On
  82.  
  83. ; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.
  84. short_open_tag = On
  85.  
  86. ; Allow ASP-style <% %> tags.
  87. asp_tags = Off
  88.  
  89. ; The number of significant digits displayed in floating point numbers.
  90. precision    =  14
  91.  
  92. ; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
  93. y2k_compliance = Off
  94.  
  95. ; Output buffering allows you to send header lines (including cookies) even
  96. ; after you send body content, at the price of slowing PHP's output layer a
  97. ; bit.  You can enable output buffering during runtime by calling the output
  98. ; buffering functions.  You can also enable output buffering for all files by
  99. ; setting this directive to On.  If you wish to limit the size of the buffer
  100. ; to a certain size - you can use a maximum number of bytes instead of 'On', as
  101. ; a value for this directive (e.g., output_buffering=4096).
  102. output_buffering = 4096
  103.  
  104. ; You can redirect all of the output of your scripts to a function.  For
  105. ; example, if you set output_handler to "ob_gzhandler", output will be
  106. ; transparently compressed for browsers that support gzip or deflate encoding.
  107. ; Setting an output handler automatically turns on output buffering.
  108. output_handler =
  109.  
  110. ; Transparent output compression using the zlib library
  111. ; Valid values for this option are 'off', 'on', or a specific buffer size
  112. ; to be used for compression (default is 4KB)
  113. ;
  114. ; Note: output_handler must be empty if this is set 'On' !!!!
  115. ;
  116. zlib.output_compression = Off
  117.  
  118. ; Implicit flush tells PHP to tell the output layer to flush itself
  119. ; automatically after every output block.  This is equivalent to calling the
  120. ; PHP function flush() after each and every call to print() or echo() and each
  121. ; and every HTML block.  Turning this option on has serious performance
  122. ; implications and is generally recommended for debugging purposes only.
  123. implicit_flush = Off
  124.  
  125. ; Whether to enable the ability to force arguments to be passed by reference
  126. ; at function call time.  This method is deprecated and is likely to be
  127. ; unsupported in future versions of PHP/Zend.  The encouraged method of
  128. ; specifying which arguments should be passed by reference is in the function
  129. ; declaration.  You're encouraged to try and turn this option Off and make
  130. ; sure your scripts work properly with it in order to ensure they will work
  131. ; with future versions of the language (you will receive a warning each time
  132. ; you use this feature, and the argument will be passed by value instead of by
  133. ; reference).
  134. allow_call_time_pass_reference = Off
  135.  
  136. ;
  137. ; Safe Mode
  138. ;
  139. safe_mode = Off
  140.  
  141. ; By default, Safe Mode does a UID compare check when
  142. ; opening files. If you want to relax this to a GID compare,
  143. ; then turn on safe_mode_gid.
  144. safe_mode_gid = Off
  145.  
  146. ; When safe_mode is on, UID/GID checks are bypassed when
  147. ; including files from this directory and its subdirectories.
  148. ; (directory must also be in include_path or full path must
  149. ; be used when including)
  150. safe_mode_include_dir =                                
  151.  
  152. ; When safe_mode is on, only executables located in the safe_mode_exec_dir
  153. ; will be allowed to be executed via the exec family of functions.
  154. safe_mode_exec_dir =
  155.  
  156. ; open_basedir, if set, limits all file operations to the defined directory
  157. ; and below.  This directive makes most sense if used in a per-directory
  158. ; or per-virtualhost web server configuration file.
  159. ;
  160. ;open_basedir =
  161.  
  162. ; Setting certain environment variables may be a potential security breach.
  163. ; This directive contains a comma-delimited list of prefixes.  In Safe Mode,
  164. ; the user may only alter environment variables whose names begin with the
  165. ; prefixes supplied here.  By default, users will only be able to set
  166. ; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
  167. ;
  168. ; Note:  If this directive is empty, PHP will let the user modify ANY
  169. ; environment variable!
  170. safe_mode_allowed_env_vars = PHP_
  171.  
  172. ; This directive contains a comma-delimited list of environment variables that
  173. ; the end user won't be able to change using putenv().  These variables will be
  174. ; protected even if safe_mode_allowed_env_vars is set to allow to change them.
  175. safe_mode_protected_env_vars = LD_LIBRARY_PATH
  176.  
  177. ; This directive allows you to disable certain functions for security reasons.
  178. ; It receives a comma-delimited list of function names.  This directive is
  179. ; *NOT* affected by whether Safe Mode is turned On or Off.
  180. disable_functions =
  181.  
  182. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
  183. ; <font color="??????"> would work.
  184. highlight.string  = #CC0000
  185. highlight.comment = #FF9900
  186. highlight.keyword = #006600
  187. highlight.bg      = #FFFFFF
  188. highlight.default = #0000CC
  189. highlight.html    = #000000
  190.  
  191.  
  192. ;
  193. ; Misc
  194. ;
  195. ; Decides whether PHP may expose the fact that it is installed on the server
  196. ; (e.g. by adding its signature to the Web server header).  It is no security
  197. ; threat in any way, but it makes it possible to determine whether you use PHP
  198. ; on your server or not.
  199. expose_php = On
  200.  
  201.  
  202. ;;;;;;;;;;;;;;;;;;;
  203. ; Resource Limits ;
  204. ;;;;;;;;;;;;;;;;;;;
  205.  
  206. max_execution_time = 30     ; Maximum execution time of each script, in seconds
  207. memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)
  208.  
  209.  
  210. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  211. ; Error handling and logging ;
  212. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  213.  
  214. ; error_reporting is a bit-field.  Or each number up to get desired error
  215. ; reporting level
  216. ; E_ALL             - All errors and warnings
  217. ; E_ERROR           - fatal run-time errors
  218. ; E_WARNING         - run-time warnings (non-fatal errors)
  219. ; E_PARSE           - compile-time parse errors
  220. ; E_NOTICE          - run-time notices (these are warnings which often result
  221. ;                     from a bug in your code, but it's possible that it was
  222. ;                     intentional (e.g., using an uninitialized variable and
  223. ;                     relying on the fact it's automatically initialized to an
  224. ;                     empty string)
  225. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
  226. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
  227. ;                     initial startup
  228. ; E_COMPILE_ERROR   - fatal compile-time errors
  229. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
  230. ; E_USER_ERROR      - user-generated error message
  231. ; E_USER_WARNING    - user-generated warning message
  232. ; E_USER_NOTICE     - user-generated notice message
  233. ;
  234. ; Examples:
  235. ;
  236. ;   - Show all errors, except for notices
  237. ;
  238. ;error_reporting = E_ALL & ~E_NOTICE
  239. ;
  240. ;   - Show only errors
  241. ;
  242. ;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
  243. ;
  244. ;   - Show all errors
  245. ;
  246. error_reporting  =  E_ALL
  247.  
  248. ; Print out errors (as a part of the output).  For production web sites,
  249. ; you're strongly encouraged to turn this feature off, and use error logging
  250. ; instead (see below).  Keeping display_errors enabled on a production web site
  251. ; may reveal security information to end users, such as file paths on your Web
  252. ; server, your database schema or other information.
  253. display_errors = Off
  254.  
  255. ; Even when display_errors is on, errors that occur during PHP's startup
  256. ; sequence are not displayed.  It's strongly recommended to keep
  257. ; display_startup_errors off, except for when debugging.
  258. display_startup_errors = Off
  259.  
  260. ; Log errors into a log file (server-specific log, stderr, or error_log (below))
  261. ; As stated above, you're strongly advised to use error logging in place of
  262. ; error displaying on production web sites.
  263. log_errors = On
  264.  
  265. ; Store the last error/warning message in $php_errormsg (boolean).
  266. track_errors = Off
  267.  
  268. ; Disable the inclusion of HTML tags in error messages.
  269. ;html_errors = Off
  270.   
  271. ; String to output before an error message.
  272. ;error_prepend_string = "<font color=ff0000>"
  273.  
  274. ; String to output after an error message.
  275. ;error_append_string = "</font>"
  276.  
  277. ; Log errors to specified file.
  278. ;error_log = filename
  279.  
  280. ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
  281. ;error_log = syslog
  282.  
  283.  
  284. ;;;;;;;;;;;;;;;;;
  285. ; Data Handling ;
  286. ;;;;;;;;;;;;;;;;;
  287. ;
  288. ; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
  289.  
  290. ; The separator used in PHP generated URLs to separate arguments.
  291. ; Default is "&". 
  292. ;arg_separator.output = "&"
  293.  
  294. ; List of separator(s) used by PHP to parse input URLs into variables.
  295. ; Default is "&". 
  296. ; NOTE: Every character in this directive is considered as separator!
  297. ;arg_separator.input = ";&"
  298.  
  299. ; This directive describes the order in which PHP registers GET, POST, Cookie,
  300. ; Environment and Built-in variables (G, P, C, E & S respectively, often
  301. ; referred to as EGPCS or GPC).  Registration is done from left to right, newer
  302. ; values override older values.
  303. variables_order = "GPCS"
  304.  
  305. ; Whether or not to register the EGPCS variables as global variables.  You may
  306. ; want to turn this off if you don't want to clutter your scripts' global scope
  307. ; with user data.  This makes most sense when coupled with track_vars - in which
  308. ; case you can access all of the GPC variables through the $HTTP_*_VARS[],
  309. ; variables.
  310. ;
  311. ; You should do your best to write your scripts so that they do not require
  312. ; register_globals to be on;  Using form variables as globals can easily lead
  313. ; to possible security problems, if the code is not very well thought of.
  314. register_globals = Off
  315.  
  316. ; This directive tells PHP whether to declare the argv&argc variables (that
  317. ; would contain the GET information).  If you don't use these variables, you
  318. ; should turn it off for increased performance.
  319. register_argc_argv = Off
  320.  
  321. ; Maximum size of POST data that PHP will accept.
  322. post_max_size = 8M
  323.  
  324. ; This directive is deprecated.  Use variables_order instead.
  325. gpc_order = "GPC"
  326.  
  327. ; Magic quotes
  328. ;
  329.  
  330. ; Magic quotes for incoming GET/POST/Cookie data.
  331. magic_quotes_gpc = Off
  332.  
  333. ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
  334. magic_quotes_runtime = Off    
  335.  
  336. ; Use Sybase-style magic quotes (escape ' with '' instead of \').
  337. magic_quotes_sybase = Off
  338.  
  339. ; Automatically add files before or after any PHP document.
  340. auto_prepend_file =
  341. auto_append_file =
  342.  
  343. ; As of 4.0b4, PHP always outputs a character encoding by default in
  344. ; the Content-type: header.  To disable sending of the charset, simply
  345. ; set it to be empty.
  346. ;
  347. ; PHP's built-in default is text/html
  348. default_mimetype = "text/html"
  349. ;default_charset = "iso-8859-1"
  350.  
  351. ; Always populate the $HTTP_RAW_POST_DATA variable.                               
  352. ;always_populate_raw_post_data = On
  353.  
  354. ;;;;;;;;;;;;;;;;;;;;;;;;;
  355. ; Paths and Directories ;
  356. ;;;;;;;;;;;;;;;;;;;;;;;;;
  357.  
  358. ; UNIX: "/path1:/path2"  
  359. ;include_path = ".:/php/includes"
  360. ;
  361. ; Windows: "\path1;\path2"
  362. ;include_path = ".;c:\php\includes"
  363.  
  364. ; The root of the PHP pages, used only if nonempty.
  365. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
  366. ; if you are running php as a CGI under any web server (other than IIS)
  367. ; see documentation for security issues.  The alternate is to use the
  368. ; cgi.force_redirect configuration below
  369. doc_root =
  370.  
  371. ; The directory under which PHP opens the script using /~usernamem used only
  372. ; if nonempty.
  373. user_dir =
  374.  
  375. ; Directory in which the loadable extensions (modules) reside.
  376. extension_dir = ./
  377.  
  378. ; Whether or not to enable the dl() function.  The dl() function does NOT work
  379. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
  380. ; disabled on them.
  381. enable_dl = On
  382.  
  383. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
  384. ; most web servers.  Left undefined, PHP turns this on by default.  You can
  385. ; turn it off here AT YOUR OWN RISK
  386. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
  387. ; cgi.force_redirect = 1
  388.  
  389. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape 
  390. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
  391. ; will look for to know it is OK to continue execution.  Setting this variable MAY
  392. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
  393. ; cgi.redirect_status_env = ;
  394.  
  395.  
  396.  
  397. ;;;;;;;;;;;;;;;;
  398. ; File Uploads ;
  399. ;;;;;;;;;;;;;;;;
  400.  
  401. ; Whether to allow HTTP file uploads.
  402. file_uploads = On
  403.  
  404. ; Temporary directory for HTTP uploaded files (will use system default if not
  405. ; specified).
  406. ;upload_tmp_dir =
  407.  
  408. ; Maximum allowed size for uploaded files.
  409. upload_max_filesize = 2M
  410.  
  411.  
  412. ;;;;;;;;;;;;;;;;;;
  413. ; Fopen wrappers ;
  414. ;;;;;;;;;;;;;;;;;;
  415.  
  416. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
  417. allow_url_fopen = On
  418.  
  419. ; Define the anonymous ftp password (your email address)
  420. ;from="john@doe.com"
  421.  
  422.  
  423. ;;;;;;;;;;;;;;;;;;;;;;
  424. ; Dynamic Extensions ;
  425. ;;;;;;;;;;;;;;;;;;;;;;
  426. ;
  427. ; If you wish to have an extension loaded automatically, use the following
  428. ; syntax:
  429. ;
  430. ;   extension=modulename.extension
  431. ;
  432. ; For example, on Windows:
  433. ;
  434. ;   extension=msql.dll
  435. ;
  436. ; ... or under UNIX:
  437. ;
  438. ;   extension=msql.so
  439. ;
  440. ; Note that it should be the name of the module only; no directory information 
  441. ; needs to go here.  Specify the location of the extension with the
  442. ; extension_dir directive above.
  443.  
  444.  
  445. ;Windows Extensions
  446. ;Note that MySQL and ODBC support is now built in, so no dll is needed for it.
  447. ;
  448. ;extension=php_bz2.dll
  449. ;extension=php_ctype.dll
  450. ;extension=php_cpdf.dll
  451. ;extension=php_curl.dll
  452. ;extension=php_cybercash.dll
  453. ;extension=php_db.dll
  454. ;extension=php_dba.dll
  455. ;extension=php_dbase.dll
  456. ;extension=php_dbx.dll
  457. ;extension=php_domxml.dll
  458. ;extension=php_dotnet.dll
  459. ;extension=php_exif.dll
  460. ;extension=php_fbsql.dll
  461. ;extension=php_fdf.dll
  462. ;extension=php_filepro.dll
  463. ;extension=php_gd.dll
  464. ;extension=php_gettext.dll
  465. ;extension=php_hyperwave.dll
  466. ;extension=php_iconv.dll
  467. ;extension=php_ifx.dll
  468. ;extension=php_iisfunc.dll
  469. ;extension=php_imap.dll
  470. ;extension=php_ingres.dll
  471. ;extension=php_interbase.dll
  472. ;extension=php_java.dll
  473. ;extension=php_ldap.dll
  474. ;extension=php_mbstring.dll
  475. ;extension=php_mcrypt.dll
  476. ;extension=php_mhash.dll
  477. ;extension=php_ming.dll
  478. ;extension=php_mssql.dll
  479. ;extension=php_oci8.dll
  480. ;extension=php_openssl.dll
  481. ;extension=php_oracle.dll
  482. ;extension=php_pdf.dll
  483. ;extension=php_pgsql.dll
  484. ;extension=php_printer.dll
  485. ;extension=php_shmop.dll
  486. ;extension=php_snmp.dll
  487. ;extension=php_sockets.dll
  488. ;extension=php_sybase_ct.dll
  489. ;extension=php_tokenizer.dll
  490. ;extension=php_w32api.dll
  491. ;extension=php_xslt.dll
  492. ;extension=php_yaz.dll
  493. ;extension=php_zlib.dll
  494.  
  495.  
  496. ;;;;;;;;;;;;;;;;;;;
  497. ; Module Settings ;
  498. ;;;;;;;;;;;;;;;;;;;
  499.  
  500. [Syslog]
  501. ; Whether or not to define the various syslog variables (e.g. $LOG_PID,
  502. ; $LOG_CRON, etc.).  Turning it off is a good idea performance-wise.  In
  503. ; runtime, you can define these variables by calling define_syslog_variables().
  504. define_syslog_variables  = Off
  505.  
  506. [mail function]
  507. ; For Win32 only.
  508. SMTP = localhost
  509.  
  510. ; For Win32 only.
  511. sendmail_from = me@localhost.com
  512.  
  513. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
  514. ;sendmail_path =
  515.  
  516. [Java]
  517. ;java.class.path = .\php_java.jar
  518. ;java.home = c:\jdk
  519. ;java.library = c:\jdk\jre\bin\hotspot\jvm.dll 
  520. ;java.library.path = .\
  521.  
  522. [SQL]
  523. sql.safe_mode = Off
  524.  
  525. [ODBC]
  526. ;odbc.default_db    =  Not yet implemented
  527. ;odbc.default_user  =  Not yet implemented
  528. ;odbc.default_pw    =  Not yet implemented
  529.  
  530. ; Allow or prevent persistent links.
  531. odbc.allow_persistent = On
  532.  
  533. ; Check that a connection is still valid before reuse.
  534. odbc.check_persistent = On
  535.  
  536. ; Maximum number of persistent links.  -1 means no limit.
  537. odbc.max_persistent = -1
  538.  
  539. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  540. odbc.max_links = -1  
  541.  
  542. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
  543. ; passthru.
  544. odbc.defaultlrl = 4096  
  545.  
  546. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
  547. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
  548. ; of uodbc.defaultlrl and uodbc.defaultbinmode
  549. odbc.defaultbinmode = 1  
  550.  
  551. [MySQL]
  552. ; Allow or prevent persistent links.
  553. mysql.allow_persistent = On
  554.  
  555. ; Maximum number of persistent links.  -1 means no limit.
  556. mysql.max_persistent = -1
  557.  
  558. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  559. mysql.max_links = -1
  560.  
  561. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
  562. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
  563. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
  564. ; at MYSQL_PORT.
  565. mysql.default_port =
  566.  
  567. ; Default socket name for local MySQL connects.  If empty, uses the built-in
  568. ; MySQL defaults.
  569. mysql.default_socket =
  570.  
  571. ; Default host for mysql_connect() (doesn't apply in safe mode).
  572. mysql.default_host =
  573.  
  574. ; Default user for mysql_connect() (doesn't apply in safe mode).
  575. mysql.default_user =
  576.  
  577. ; Default password for mysql_connect() (doesn't apply in safe mode).
  578. ; Note that this is generally a *bad* idea to store passwords in this file.
  579. ; *Any* user with PHP access can run 'echo cfg_get_var("mysql.default_password")
  580. ; and reveal this password!  And of course, any users with read access to this
  581. ; file will be able to reveal the password as well.
  582. mysql.default_password =
  583.  
  584. [mSQL]
  585. ; Allow or prevent persistent links.
  586. msql.allow_persistent = On
  587.  
  588. ; Maximum number of persistent links.  -1 means no limit.
  589. msql.max_persistent = -1
  590.  
  591. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  592. msql.max_links = -1
  593.  
  594. [PostgresSQL]
  595. ; Allow or prevent persistent links.
  596. pgsql.allow_persistent = On
  597.  
  598. ; Detect broken persistent links always with pg_pconnect(). Need a little overhead.
  599. pgsql.auto_reset_persistent = Off
  600.  
  601. ; Maximum number of persistent links.  -1 means no limit.
  602. pgsql.max_persistent = -1
  603.  
  604. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  605. pgsql.max_links = -1
  606.  
  607. [Sybase]
  608. ; Allow or prevent persistent links.
  609. sybase.allow_persistent = On
  610.  
  611. ; Maximum number of persistent links.  -1 means no limit.
  612. sybase.max_persistent = -1
  613.  
  614. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  615. sybase.max_links = -1
  616.  
  617. ;sybase.interface_file = "/usr/sybase/interfaces"
  618.  
  619. ; Minimum error severity to display.
  620. sybase.min_error_severity = 10
  621.  
  622. ; Minimum message severity to display.
  623. sybase.min_message_severity = 10
  624.  
  625. ; Compatability mode with old versions of PHP 3.0.
  626. ; If on, this will cause PHP to automatically assign types to results according
  627. ; to their Sybase type, instead of treating them all as strings.  This
  628. ; compatability mode will probably not stay around forever, so try applying
  629. ; whatever necessary changes to your code, and turn it off.
  630. sybase.compatability_mode = Off
  631.  
  632. [Sybase-CT]
  633. ; Allow or prevent persistent links.
  634. sybct.allow_persistent = On
  635.  
  636. ; Maximum number of persistent links.  -1 means no limit.
  637. sybct.max_persistent = -1
  638.  
  639. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  640. sybct.max_links = -1
  641.  
  642. ; Minimum server message severity to display.
  643. sybct.min_server_severity = 10
  644.  
  645. ; Minimum client message severity to display.
  646. sybct.min_client_severity = 10
  647.  
  648. [bcmath]
  649. ; Number of decimal digits for all bcmath functions.
  650. bcmath.scale = 0
  651.  
  652. [browscap]
  653. ;browscap = extra/browscap.ini
  654.  
  655. [Informix]
  656. ; Default host for ifx_connect() (doesn't apply in safe mode).
  657. ifx.default_host =
  658.  
  659. ; Default user for ifx_connect() (doesn't apply in safe mode).
  660. ifx.default_user =
  661.  
  662. ; Default password for ifx_connect() (doesn't apply in safe mode).
  663. ifx.default_password =
  664.  
  665. ; Allow or prevent persistent links.
  666. ifx.allow_persistent = On
  667.  
  668. ; Maximum number of persistent links.  -1 means no limit.
  669. ifx.max_persistent = -1
  670.  
  671. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  672. ifx.max_links = -1
  673.  
  674. ; If on, select statements return the contents of a text blob instead of its id.
  675. ifx.textasvarchar = 0
  676.  
  677. ; If on, select statements return the contents of a byte blob instead of its id.
  678. ifx.byteasvarchar = 0
  679.  
  680. ; Trailing blanks are stripped from fixed-length char columns.  May help the
  681. ; life of Informix SE users.
  682. ifx.charasvarchar = 0
  683.  
  684. ; If on, the contents of text and byte blobs are dumped to a file instead of
  685. ; keeping them in memory.
  686. ifx.blobinfile = 0
  687.  
  688. ; NULL's are returned as empty strings, unless this is set to 1.  In that case,
  689. ; NULL's are returned as string 'NULL'.
  690. ifx.nullformat = 0
  691.  
  692. [Session]
  693. ; Handler used to store/retrieve data.
  694. session.save_handler = files
  695.  
  696. ; Argument passed to save_handler.  In the case of files, this is the path
  697. ; where data files are stored. Note: Windows users have to change this 
  698. ; variable in order to use PHP's session functions.
  699. session.save_path = /tmp
  700.  
  701. ; Whether to use cookies.
  702. session.use_cookies = 1
  703.  
  704.  
  705. ; Name of the session (used as cookie name).
  706. session.name = PHPSESSID
  707.  
  708. ; Initialize session on request startup.
  709. session.auto_start = 0
  710.  
  711. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
  712. session.cookie_lifetime = 0
  713.  
  714. ; The path for which the cookie is valid.
  715. session.cookie_path = /
  716.  
  717. ; The domain for which the cookie is valid.
  718. session.cookie_domain =
  719.  
  720. ; Handler used to serialize data.  php is the standard serializer of PHP.
  721. session.serialize_handler = php
  722.  
  723. ; Percentual probability that the 'garbage collection' process is started
  724. ; on every session initialization.
  725. session.gc_probability = 1
  726.  
  727. ; After this number of seconds, stored data will be seen as 'garbage' and
  728. ; cleaned up by the garbage collection process.
  729. session.gc_maxlifetime = 1440
  730.  
  731. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
  732. ; HTTP_REFERER has to contain this substring for the session to be
  733. ; considered as valid.
  734. session.referer_check =
  735.  
  736. ; How many bytes to read from the file.
  737. session.entropy_length = 0
  738.  
  739. ; Specified here to create the session id.
  740. session.entropy_file =
  741.  
  742. ;session.entropy_length = 16
  743.  
  744. ;session.entropy_file = /dev/urandom
  745.  
  746. ; Set to {nocache,private,public} to determine HTTP caching aspects.
  747. session.cache_limiter = nocache
  748.  
  749. ; Document expires after n minutes.
  750. session.cache_expire = 180
  751.  
  752. ; trans sid support is disabled by default.
  753. ; Use of trans sid may risk your users security. 
  754. ; Use this option with caution.
  755. ; - User may send URL contains active session ID
  756. ;   to other person via. email/irc/etc.
  757. ; - URL that contains active session ID may be stored
  758. ;   in publically accessible computer.
  759. ; - User may access your site with the same session ID
  760. ;   always using URL stored in browser's history or bookmarks.
  761. session.use_trans_sid = 0
  762.  
  763. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
  764.  
  765. [MSSQL]
  766. ; Allow or prevent persistent links.
  767. mssql.allow_persistent = On
  768.  
  769. ; Maximum number of persistent links.  -1 means no limit.
  770. mssql.max_persistent = -1
  771.  
  772. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  773. mssql.max_links = -1
  774.  
  775. ; Minimum error severity to display.
  776. mssql.min_error_severity = 10
  777.  
  778. ; Minimum message severity to display.
  779. mssql.min_message_severity = 10
  780.  
  781. ; Compatability mode with old versions of PHP 3.0.
  782. mssql.compatability_mode = Off
  783.  
  784. ; Valid range 0 - 2147483647.  Default = 4096.
  785. ;mssql.textlimit = 4096
  786.  
  787. ; Valid range 0 - 2147483647.  Default = 4096.
  788. ;mssql.textsize = 4096
  789.  
  790. ; Limits the number of records in each batch.  0 = all records in one batch.
  791. ;mssql.batchsize = 0
  792.  
  793. [Assertion]
  794. ; Assert(expr); active by default.
  795. ;assert.active = On
  796.  
  797. ; Issue a PHP warning for each failed assertion.
  798. ;assert.warning = On
  799.  
  800. ; Don't bail out by default.
  801. ;assert.bail = Off
  802.  
  803. ; User-function to be called if an assertion fails.
  804. ;assert.callback = 0
  805.  
  806. ; Eval the expression with current error_reporting().  Set to true if you want
  807. ; error_reporting(0) around the eval().
  808. ;assert.quiet_eval = 0
  809.  
  810. [Ingres II]
  811. ; Allow or prevent persistent links.
  812. ingres.allow_persistent = On
  813.  
  814. ; Maximum number of persistent links.  -1 means no limit.
  815. ingres.max_persistent = -1
  816.  
  817. ; Maximum number of links, including persistents.  -1 means no limit.
  818. ingres.max_links = -1
  819.  
  820. ; Default database (format: [node_id::]dbname[/srv_class]).
  821. ingres.default_database =
  822.  
  823. ; Default user.
  824. ingres.default_user =
  825.  
  826. ; Default password.
  827. ingres.default_password =
  828.  
  829. [Verisign Payflow Pro]
  830. ; Default Payflow Pro server.
  831. pfpro.defaulthost = "test-payflow.verisign.com"
  832.  
  833. ; Default port to connect to.
  834. pfpro.defaultport = 443
  835.  
  836. ; Default timeout in seconds.
  837. pfpro.defaulttimeout = 30
  838.  
  839. ; Default proxy IP address (if required).
  840. ;pfpro.proxyaddress =
  841.  
  842. ; Default proxy port.
  843. ;pfpro.proxyport =
  844.  
  845. ; Default proxy logon.
  846. ;pfpro.proxylogon =
  847.  
  848. ; Default proxy password.
  849. ;pfpro.proxypassword =
  850.  
  851. [Sockets]
  852. ; Use the system read() function instead of the php_read() wrapper.
  853. sockets.use_system_read = On
  854.  
  855. [com]
  856. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
  857. ;com.typelib_file = 
  858. ; allow Distributed-COM calls
  859. ;com.allow_dcom = true
  860. ; autoregister constants of a components typlib on com_load()
  861. ;com.autoregister_typelib = true
  862. ; register constants casesensitive
  863. ;com.autoregister_casesensitive = false
  864. ; show warnings on duplicate constat registrations
  865. ;com.autoregister_verbose = true
  866.  
  867. [Printer]
  868. ;printer.default_printer = ""
  869.  
  870. [mbstring]
  871. ;mbstring.internal_encoding = EUC-JP
  872. ;mbstring.http_input = auto
  873. ;mbstring.http_output = SJIS
  874. ;mbstring.detect_order = auto
  875. ;mbstring.substitute_character = none;
  876.  
  877. [FrontBase]
  878. ;fbsql.allow_persistent = On
  879. ;fbsql.autocommit = On
  880. ;fbsql.default_database = 
  881. ;fbsql.default_database_password =
  882. ;fbsql.default_host =
  883. ;fbsql.default_password =
  884. ;fbsql.default_user = "_SYSTEM"
  885. ;fbsql.generate_warnings = Off
  886. ;fbsql.max_connections = 128
  887. ;fbsql.max_links = 128
  888. ;fbsql.max_persistent = -1
  889. ;fbsql.max_results = 128
  890. ;fbsql.batchSize = 1000
  891.  
  892. ; Local Variables:
  893. ; tab-width: 4
  894. ; End:
  895.